//
//  ZZDataAnalysisCellTableViewCell.m
//  新项目
//
//  Created by liGordon on 17/3/7.
//  Copyright © 2017年 刘耀宗. All rights reserved.
//

#import "ZZDataAnalysisCellTableViewCell.h"

@interface ZZDataAnalysisCellTableViewCell ()


@end

@implementation ZZDataAnalysisCellTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    if (newwidth <= 320) {
        [self.selectBtn.layer setMasksToBounds:YES];
        [self.selectBtn.layer setCornerRadius:28.0];
    }else if(newwidth <= 375 && newwidth >=320){
        [self.selectBtn.layer setMasksToBounds:YES];
        [self.selectBtn.layer setCornerRadius:40.0];
    }else{
        [self.selectBtn.layer setMasksToBounds:YES];
        [self.selectBtn.layer setCornerRadius:60.0];
    }

//    self.SelectBtn.layer.borderColor=[UIColor colorWithRed:17/255.0 green:128/255.0 blue:184/255.0 alpha:0].CGColor;
    self.selectBtn.layer.borderColor= [UIColor colorWithRed:17.0/255.0 green:128.0/255.0 blue:184.0/255.0 alpha:100].CGColor;
    self.selectBtn.layer.borderWidth = 2;
    self.selectBtn.userInteractionEnabled = NO;
   // self.SelectBtn.backgroundColor = [UIColor blackColor];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
